import  axios from "../../axios.js"

//费用名称接口
export default{
  //查询所有
  queryAll(data,binding)
  {
    return axios({
      url:'/crm/feeName/queryAll',
      method:'get',
      params: data,
      headers:{
        "binding": binding
      }
    })
  },
  //新增费用名称
  insert(data,binding){
    return axios({
      url:'/crm/feeName/insert',
      method:'post',
      data,
      headers:{
        "binding": binding
      }
    })
  },
  //删除费用名称
  deleteByIds(data,binding){
    return axios({
      url:'/crm/feeName/delete',
      method:'get',
      params: data,
      headers:{
        "binding": binding
      }
    })
  },
  //修改费用名称
  update(data,binding){
    return axios({
      url:'/crm/feeName/update',
      method:'post',
      data,
      headers:{
        "binding": binding
      }
    })
  },
};
